﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TaskProject.Domain.Production
{
    public  class WorkorderModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int WorkOrderId { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string WorkOrderCode { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string WorkOrderName { get; set; }
        /// <summary>
        /// 负责人外键
        /// </summary>
        public int LeaderId { get; set; }
        /// <summary>
        /// 工序数量
        /// </summary>
        public int OrderNum { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string WorderOrderDesc { get; set; }
        /// <summary>
        /// 工单日期
        /// </summary>
        public DateTime WorkOrderDate { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }

    }
}
